#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<cmath>
#include<cstdio>

using namespace std;

int main()
{
	double a, b, c;
	cin >> a >> b >> c;
	if (a == 0 || pow(b, 2) - 4 * a * c < 0)
	{
		printf("Impossivel calcular");
	}
	else
	{
		printf("R1 = %.5lf\n", (-b - sqrt(pow(b, 2) - 4 * a * c)) / (2 * a));
		printf("R1 = %.5lf", (-b + sqrt(pow(b, 2) - 4 * a * c)) / (2 * a));
	}
	return 0;
}